﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BeerManagementSystem
{
    public partial class CashTransactionsManager : Form
    {
        public CashTransactionsManager()
        {
            InitializeComponent();
        }

        private void cashTransactionBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.cashTransactionBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.cashTransactions);

        }

        private void CashTransactionsManager_Load(object sender, EventArgs e)
        {
            // TODO: Diese Codezeile lädt Daten in die Tabelle "cashTransactions.CashTransaction". Sie können sie bei Bedarf verschieben oder entfernen.
            this.cashTransactionTableAdapter.Fill(this.cashTransactions.CashTransaction);

        }
    }
}
